package com.handshake.dto;

import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 公益项目表
 * @author LcLee Tankiland@outlook.com
 */
@Data
@Schema(name = "公益项目表")
public class ProjectsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "项目ID")
	private Long id;

	@SchemaProperty(name = "项目标题")
	private String title;

	@SchemaProperty(name = "项目描述")
	private String description;

	@SchemaProperty(name = "目标金额")
	private BigDecimal targetAmount;

	@SchemaProperty(name = "已筹金额")
	private BigDecimal raisedAmount;

	@SchemaProperty(name = "项目开始日期")
	private Date startDate;

	@SchemaProperty(name = "项目结束日期")
	private Date endDate;

	@SchemaProperty(name = "项目状态")
	private String status;

	@SchemaProperty(name = "创建人ID")
	private Long createdBy;

	@SchemaProperty(name = "创建时间")
	private Date createdAt;

	@SchemaProperty(name = "更新时间")
	private Date updatedAt;


}
